package com.example.gmallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.utils.PageUtils;
import com.example.gmallproduct.VO.AttrResponseVo;
import com.example.gmallproduct.VO.AttrVo;
import com.example.gmallproduct.entity.AttrEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author WDL
 * @email 2329156214@QQ.com
 * @date 2022-05-01 14:45:09
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils findNoAttr(Map<String, Object> params, Long attrgroupId);

    PageUtils queryPage(Map<String, Object> params);

    void saveCaseCade(AttrVo attr);

    PageUtils queryPageByCatId(Map<String, Object> map, Long catId, String attrType);

    AttrResponseVo findDetail(Long attrId);

    void updateCaseCade(AttrVo attr);

    PageUtils getBySaleList(Map<String, Object> params, Long catelodId);
}

